//
//  ZYCImagePickView.h
//  ZDSC
//
//  Created by ZDTX on 2021/9/27.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol ZYCImagePickViewDelegate <NSObject>
@optional
- (void)imagePickerView:(UIView *)view didFinishPickPhoto:(NSArray<UIImage *> *)photos;


@end
@interface ZYCImagePickView : UIView

@property (nonatomic, weak) id<ZYCImagePickViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame andMaxImages:(NSInteger )count imagesNumPerRow:(NSInteger )num;


@end

//获取视图所在控制器的扩展
@interface UIView (Extend)
- (UIViewController *)viewController;


@end

NS_ASSUME_NONNULL_END
